lang/perl: Filter -g3 in TARGET_CFLAGS
authorMarcel Denia <[email protected]>
Mon, 21 Jul 2014 01:16:27 +0000 (03:16 +0200)
committerMarcel Denia <[email protected]>
Mon, 21 Jul 2014 01:29:17 +0000 (03:29 +0200)
commit8f8698ad20e3d305509b8b5510786a6e20d86f32
treee09101fd9294b80bf46c87c1ca1d10532f2957fb
parent5092ba67809c36f7bf09429c512bf8c68820f043
lang/perl: Filter -g3 in TARGET_CFLAGS

-g3 will make the build fail in Compress-Raw-Zlib with
  ld: final link failed: Memory exhausted
This bug is actually documented[1] and fixed by filtering that flag. Since
we're passing CFLAGS manually, we need to do the same to make things work.
I suspect that this is actually a linker or library bug, but for now let's
just replicate the official fix.

[1] https://rt.cpan.org/Public/Bug/Display.html?id=88936

Signed-off-by: Marcel Denia <[email protected]>
lang/perl/Makefile